package test;

public class People{ 
	 public int code; 
	 public String name; 
	 public char sex;
	 public String string;
	 public Course c3; 
	 public People(int code, String name, char sex){ 
	    setCode(code); 
	    setName(name); 
	    setSex(sex); 
	    } 
	    People(int i, String string, char c, Teacher t2, Course c3) {
	    	super();
			this.c3 = c3; 
	        this.string=string;
	        setName(name);  
		}	
	    public int getCode(){ 
	     return code; 
	    } 
	    public String getName(){ 
	     return name; 
	    } 
	    public char getSex(){ 
	     return sex; 
	    } 
	    public void setCode(int code){ 
	     this.code = code; 
	    } 
	    public void setName(String name){ 
	     this.name = name; 
	    } 
	    public void setSex(char sex){ 
	     this.sex = sex; 
	    } 
	} 